package cn.autumnorange.user.entity;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

public class Json implements Serializable {
  private String name;
  private List<String> list;
  private Collection<MyGramtedAuthority> authorities;

  public List<String> getList() {
    return list;
  }

  public void setList(List<String> list) {
    this.list = list;
  }

  public Collection<MyGramtedAuthority> getAuthorities() {
    return authorities;
  }

  public void setAuthorities(Collection<MyGramtedAuthority> authorities) {
    this.authorities = authorities;
  }

  public Json() {};

  public Json(String name) {
    this.name = name;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }
}
